home *** CD-ROM | disk | FTP | other *** search
- 23:59:55 01-02-1983
- JOE LONG
- MAILING LIST PROGRAM v1.0 by Joe Long
-
- This is a straightforward mailing list program written as an exercise.
- It is fairly powerful, allowing sorting by four fields and keying printing of
- labels by any field. It will print one across or two across labels. It was
- repeatedly modified and expanded in scope as it grew, so it is not as elegantly
- structured as it should be. It has had little testing, so probably has bugs --
- please report any bugs to me at the address listed in the program heading.
-
- The program has five files open at once, and uses the function keys, so
- BASICA must be called with five file buffers specified. Call as
- "BASICA/F:5/S:512".
-
- The program is nearly self-explanatory. Use the "tab" key or cursor
- control keys to move about the form. "Tab" only moves forward. "Esc" deletes
- the current record from the file. You are always given a chance to change your
- ind before the disc is modified, except when inputting a new record.
-
- Sorting is done by maintaining a separate index file for the four sort
- fields. Only these files are sorted, the main file is never shuffled.
- Searches are done by a binary search, so the index files must be sorted before
- a search if even one record has been changed. An insertion sort is used, which
- is fast when the list is almost in order (as will be the case when only a few
- records have been changed since the last sort). If you enter a large number of
- new records, the sort can get very slow. I have a compiled version available,
- which I have not uploaded because of its large size (42K). You can get it by
- sending me a blank, formatted disc in a self-addressed return mailer WITH
- POSTAGE.
-
- The program does a LOT of disc I/O. It will run much faster if you have a
- "ramdisc" (a virtual disc drive in high RAM). Just change the drive
- specification on lines 160, 180, 200, 220, and 240 to the ramdrive.
-
- Feel free to modify or expand this program as you wish. It is fairly
- well self-documented, so modification should not be difficult.
-
- If you have a color monitor, change the values of FG, BG, BD, and HI to
- whatever colors suit you. They are now set for B/W monitors.
-
- My only reason for the 1,000 record limit is the feeling that by that time
- the program will have gotten intolerably slow anyway, at least until the
- compiled version is done. If you have the disc space, and a compiler, you may
- wnat to increase this. Notice that I maintain dynamic file allocation;
- eleted records are re-used to keep the file from growing unnecessarily. Up to
- 50 deleted record numbers are saved at one time.
-
- If you have any questions, write me or leave a message on the Capitol BBS.
- eted record numbers are saved at on